package ooday03homework;

import java.awt.*;

public class Chick extends Animal {
    Chick(){

    }
    Chick(String name, int age, Color color){
        super(name, age, color);
    }

    void XiaEggs(){
        System.out.println("名叫"+name+"今年"+age+"岁了"+color+"色的坤坤正在下蛋。。。。。。");
    }

    @Override
    void eat() {
        System.out.println("名叫"+name+"今年"+age+"岁了"+color+"色的坤坤正在吃鸡饲料。。。。。。");
    }


}
